package com.jiangnan.warehouse_management.service;

import com.jiangnan.warehouse_management.dto.request.ItemRequest;
import com.jiangnan.warehouse_management.dto.request.ItemUpdateRequest;
import com.jiangnan.warehouse_management.dto.response.ItemDetailResponse;
import com.jiangnan.warehouse_management.dto.response.ItemQueryResponse;
import com.jiangnan.warehouse_management.pojo.Item;

public interface ItemService {
    ItemQueryResponse getItems(Integer page, Integer pageSize, String itemName, Integer categoryId);
    
    Item createItem(ItemRequest request);
    
    ItemDetailResponse getItemById(Integer id);
    
    ItemDetailResponse updateItem(Integer id, ItemUpdateRequest request);
    
    void deleteItem(Integer id);
}
